﻿using System;

namespace 早睡早起不犯困
{
    class SayHi : IEat
    {
        public string Name { get; set; }
        public SayHi(string name)
        {
            this.Name = name;
        }
        public SayHi() { }
        public void Eat()
        {
            Console.WriteLine("{0}会吃！", Name);
        }
        public void Climb()
        {
            Console.WriteLine("{0}会爬树！", Name);
        }
        public void Swim()
        {
            Console.WriteLine("{0}会游泳！", Name);
        }


    }
}
